#ifndef UNIONAFFILIATION_H
#define UNIONAFFILIATION_H
#include <map>
#include "Affiliation.h"

class ServiceCharge;
class UnionAffiliation : public Affiliation
{
public:
	virtual ~UnionAffiliation();
	UnionAffiliation(double dues);

	double GetDues();
	void AddServiceCharge(long date, double charge);
	ServiceCharge* GetServiceCharge(long date);

private:
	double itsDues;
	std::map<long, ServiceCharge*> itsCharges;
};

#endif